{include file="public/header" /}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/Babyinfo/index')}">返回</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                    <form class="layui-form form-container" action="{:url('admin/babyinfo/updatem')}" method="post">

                        <input type="hidden" name="id" value="{$info['id']}">


                        <div class="layui-form-item">
                        <label class="layui-form-label">宝宝名字</label>
                        <div class="layui-input-block">
                            <input type="text" name="baby_name" value="" required  lay-verify="required" placeholder="请输入商品名称" class="layui-input">
                        </div>
                    </div>





                        <div class="layui-form-item">
                            <label class="layui-form-label">宝宝年龄</label>
                    <div class="layui-input-block">
                        <input type="text" name="age" value="" required  lay-verify="required" placeholder="请输入商品详情" class="layui-input">
                    </div>
                </div>



                        <div class="layui-form-item">
                            <label class="layui-form-label">宝宝性别</label>
                            <div class="layui-input-block">
                                <input type="text" name="sex" value="" required  lay-verify="required" placeholder="请输入商品详情" class="layui-input">
                            </div>
                        </div>






                        <div class="layui-form-item">
                        <label class="layui-form-label">用户信息ID</label>
                        <div class="layui-input-block">
                            <select name="userinfo_id" style="display: block;width: 300px;height: 30px">

                                <option value="1"></option>

                            </select>
                        </div>
                    </div>




                        <div class="layui-form-item">
                        <label class="layui-form-label">宝宝出生日期</label>
                        <div class="layui-input-block">
                            <input type="text" name="birthday" value="" required  lay-verify="required" class="layui-input">
                        </div>
                            <span>生气日期格式为：XXXX年XX月XX日；例：2017年08月23日</span>
                    </div>




                        <div class="layui-form-item">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input type="text" name="sort" value="1"  class="layui-input">
                        </div>
                    </div>
                        <br/>








                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="submit" class="layui-btn" value="保存数据">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}